import request from '@/utils/request'

// 获取审批列表
export const getApprovalList = (page, pageSize) => request.get(`/user/process/instance/${page}/${pageSize}`)

// 获取审批数据详细数据
export const getApprovalDetail = id => request.get(`/user/process/instance/${id}`)

// 查询审批单明细
export const checkApprovalDetail = id => request.get(`/user/process/instance/tasks/detail/${id}`)

// 查询审批单详细数据
export const checkApprovalData = id => request.get(`/user/process/instance/${id}`)
